<template>
  <div class="student">
    <h2>学生名称：{{ name }}</h2>
    <h2>学生性别：{{ sex }}</h2>
  </div>
</template>

<script>

export default {
  name: "Student",
  data() {
    return {
      name: '张三',
      sex: '男'
    }
  },
  mounted() {

  }
}
</script>

<style scoped>
.student {
  padding: 10px;
  background-color: #d880fe;
}
</style>